<div class="full-screen">
    <div class="page-group">
        <div class="page page-current nocoupon_contentBOX">
            <div class="content">

                <div class="coupon_page_top">
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='index'}>"><{img class="coupon_top_return" src="images/icon04.png" app="wap"}></a>
                    <div class="coupon_top_text">申请退款</div>
                </div>
                <div class="buttons-tab buttons_tab_bottom">
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='gorefundlist'}>" class=" button refund_tab active">申请退款</a>
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='refundrecord'}>" class=" button refund_tab">申请记录</a>
                </div>
                <div class="content-block nomargin nopadding">
                    <div class="tabs">
                        <{if $gorefundlist|@count gt 0}>
                        <div id="tab1" class="tab active">
                            <{foreach from=$gorefundlist item=item name=name}>
                                <{if $item.pay_status!=0}>
                                    <div class="content-block"><!-- start apply-->
                                        <div class="refund_content">
                                            <div class="refundA">订单号：<span><{$item.order_id}></span></div>
                                            <div class="refundB">
                                                <{foreach from=$item.goods_items item=item_goods name=name1}>
                                                <{if $smarty.foreach.name1.first}>
                                                <a href="">
                                                    <img class="refundB_img" src="<{$item_goods.product.thumbnail_pic|default:$env.conf.site.default_thumbnail_pic|storager:'s'}>">
                                                    <div class="refundB_content">
                                                        <div class="refundB_name"><{$item_goods.product.name}></div>
                                                        <div class="refundB_money">总金额：<span><{$item.total_amount|cur_odr:$item.currency:false:true}></span></div>
                                                    </div>
                                                </a>
                                                <{/if}>
                                                <{/foreach}>
                                                <button class="refundB_button" url="<{link app=b2c ctl=wap_member act=go_refund arg0=$item.order_id}>">申请退款</button>
                                                <div class="clearfix"></div>
                                            </div>
                                        </div>
                                    </div>
                                <{/if}>
                            <{/foreach}>
                            <{wap_pagers data=$pager}>
                        </div>
                        <{else}>
                            <div class="tab active">
                                <div class="content-block"><!-- start -->
                                    <div class="NOorder_content">
                                        <{img class="NOorder_img" src="images/icon08.png" app="wap"}>
                                        <div class="NOorder_text">您还没有相关订单</div>
                                        <div class="NOorder_button"><a href="./">返回首页</a></div>
                                    </div>
                                </div>
                            </div>
                        <{/if}>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(function(){
        $('.pageview').css('margin-top','0');
        $('.refundB_button').click(function(){
            window.location.href=$(this).attr('url');
        });
    });
</script>